<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Seguridad</title>
        <link href="css/security.css" rel="stylesheet" type="text/css" />
    </head>

    <body>
        <div id="header">
            <table id="empresa_firma" align="center" width="10%" border="0" cellspacing="5" cellpadding="0">
            <tr>
                <td>Empresa:</td>
            </tr>
            <tr>

                <td>
                    <img src="img/kairosint.png"></img>
                </td>
            </tr>
        </table>
        </div>
        <div id="login">
            
            <form action="main.php" method="post" enctype="application/x-www-form-urlencoded" name="login">
                <input type="hidden" name="module" id="module" value="<?php echo $this->instanceName; ?>" />
                <input type="hidden" name="start" id="start" value="true" />
                <div id="campos">
                    <table align="center" width="100%" border="0" cellspacing="5" cellpadding="0">
                       
                        <tr>
                            <td colspan="2" align="center"><h1>Datos de Usuario</h1></td>
                        </tr>
                        <tr>
                            <td width="24%">Usuario</td>
                            <td width="76%"><label for="usuario"></label>
                                <input type="text" name="usuario" id="usuario" value="" /></td>
                        </tr>
                        <tr>
                            <td>Clave</td>
                            <td><input type="password" name="clave" id="clave" value="" /></td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td><input type="submit" name="ingresar" id="ingresar" value="Entrar" /></td>
                        </tr>
                        <?php if (count($this->errores) > 0) { ?>
                            <tr>
                                <td colspan="2" style="color: red; font-style: italic;">
                                    <ul>
                                        <?php foreach ($this->errores as $e) { ?>
                                            <li><?php echo $e; ?></li>
                                        <?php } ?>
                                    </ul>
                                </td>
                            </tr>
                            <?php
                        }
                        session_destroy();
                        ?>
                    </table>

                </div>

            </form></div>
        <table id="empresa_firma" align="center" width="10%" border="0" cellspacing="5" cellpadding="0">
            <tr>
                <td>Powered by:</td>
            </tr>
            <tr>

                <td>
                    <img src="img/ealogo.png"></img>
                </td>
            </tr>
        </table>
    </body>
</html>